home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 65 75 | 72 6f 70 61 2e 63 6f 6d |Path: eu|ropa.com|
|00000010| 21 75 73 65 6e 65 74 0a | 46 72 6f 6d 3a 20 44 69 |!usenet.|From: Di|
|00000020| 6f 6e 20 42 61 72 72 69 | 65 72 20 3c 76 69 70 65 |on Barri|er <vipe|
|00000030| 72 40 65 75 72 6f 70 61 | 2e 63 6f 6d 3e 0a 4e 65 |r@europa|.com>.Ne|
|00000040| 77 73 67 72 6f 75 70 73 | 3a 20 63 6f 6d 70 2e 6c |wsgroups|: comp.l|
|00000050| 61 6e 67 2e 63 2b 2b 0a | 53 75 62 6a 65 63 74 3a |ang.c++.|Subject:|
|00000060| 20 52 65 3a 20 4c 6f 6f | 70 73 20 6e 6f 74 20 77 | Re: Loo|ps not w|
|00000070| 6f 72 6b 69 6e 67 0a 44 | 61 74 65 3a 20 33 20 4a |orking.D|ate: 3 J|
|00000080| 61 6e 20 31 39 39 36 20 | 30 35 3a 33 32 3a 34 31 |an 1996 |05:32:41|
|00000090| 20 47 4d 54 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|000000a0| 6e 3a 20 45 75 72 6f 70 | 61 20 43 6f 6d 6d 75 6e |n: Europ|a Commun|
|000000b0| 69 63 61 74 69 6f 6e 73 | 2c 20 49 6e 63 2c 20 50 |ications|, Inc, P|
|000000c0| 6f 72 74 6c 61 6e 64 20 | 4f 72 65 67 6f 6e 20 55 |ortland |Oregon U|
|000000d0| 53 41 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |SA.Messa|ge-ID: <|
|000000e0| 34 63 64 34 64 70 24 34 | 68 6c 40 61 74 68 65 72 |4cd4dp$4|hl@ather|
|000000f0| 69 61 2e 65 75 72 6f 70 | 61 2e 63 6f 6d 3e 0a 52 |ia.europ|a.com>.R|
|00000100| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 34 63 33 6e |eference|s: <4c3n|
|00000110| 69 64 24 6f 69 6f 24 31 | 40 6d 68 61 66 6d 2e 70 |id$oio$1|@mhafm.p|
|00000120| 72 6f 64 75 63 74 69 6f | 6e 2e 63 6f 6d 70 75 73 |roductio|n.compus|
|00000130| 65 72 76 65 2e 63 6f 6d | 3e 20 3c 34 63 34 32 6f |erve.com|> <4c42o|
|00000140| 6d 24 34 37 6c 40 6e 65 | 77 73 62 66 30 32 2e 6e |m$47l@ne|wsbf02.n|
|00000150| 65 77 73 2e 61 6f 6c 2e | 63 6f 6d 3e 0a 4e 4e 54 |ews.aol.|com>.NNT|
|00000160| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000170| 65 75 72 6f 70 61 31 35 | 32 2e 65 75 72 6f 70 61 |europa15|2.europa|
|00000180| 2e 63 6f 6d 0a 4d 69 6d | 65 2d 56 65 72 73 69 6f |.com.Mim|e-Versio|
|00000190| 6e 3a 20 31 2e 30 0a 43 | 6f 6e 74 65 6e 74 2d 54 |n: 1.0.C|ontent-T|
|000001a0| 79 70 65 3a 20 74 65 78 | 74 2f 70 6c 61 69 6e 3b |ype: tex|t/plain;|
|000001b0| 20 63 68 61 72 73 65 74 | 3d 75 73 2d 61 73 63 69 | charset|=us-asci|
|000001c0| 69 0a 43 6f 6e 74 65 6e | 74 2d 54 72 61 6e 73 66 |i.Conten|t-Transf|
|000001d0| 65 72 2d 45 6e 63 6f 64 | 69 6e 67 3a 20 37 62 69 |er-Encod|ing: 7bi|
|000001e0| 74 0a 58 2d 4d 61 69 6c | 65 72 3a 20 4d 6f 7a 69 |t.X-Mail|er: Mozi|
|000001f0| 6c 6c 61 20 31 2e 32 32 | 20 28 57 69 6e 64 6f 77 |lla 1.22| (Window|
|00000200| 73 3b 20 49 3b 20 33 32 | 62 69 74 29 0a 54 6f 3a |s; I; 32|bit).To:|
|00000210| 20 72 6f 67 65 72 6c 63 | 0a 0a 72 6f 67 65 72 6c | rogerlc|..rogerl|
|00000220| 63 40 61 6f 6c 2e 63 6f | 6d 20 28 52 6f 67 65 72 |c@aol.co|m (Roger|
|00000230| 4c 43 29 20 77 72 6f 74 | 65 3a 0a 3e 54 68 65 20 |LC) wrot|e:.>The |
|00000240| 73 65 6d 69 63 6f 6c 6f | 6e 73 20 74 68 61 74 20 |semicolo|ns that |
|00000250| 79 6f 75 20 61 72 65 20 | 6d 69 73 73 69 6e 67 20 |you are |missing |
|00000260| 67 6f 20 69 6e 73 69 64 | 65 20 74 68 65 20 66 6f |go insid|e the fo|
|00000270| 72 20 73 74 61 74 65 6d | 65 6e 74 3a 0a 3e 0a 3e |r statem|ent:.>.>|
|00000280| 66 6f 72 20 28 69 6e 69 | 74 69 61 6c 69 7a 65 3b |for (ini|tialize;|
|00000290| 20 74 65 73 74 3b 20 69 | 6e 63 72 65 6d 65 6e 74 | test; i|ncrement|
|000002a0| 29 0a 3e 0a 3e 66 6f 72 | 20 28 3b 20 78 20 21 3d |).>.>for| (; x !=|
|000002b0| 20 27 41 27 20 3b 20 29 | 20 20 2f 2f 20 79 6f 75 | 'A' ; )| // you|
|000002c0| 72 20 6e 65 65 64 20 74 | 68 65 20 73 65 6d 69 63 |r need t|he semic|
|000002d0| 6f 6c 6f 6e 73 20 65 76 | 65 6e 20 69 66 20 79 6f |olons ev|en if yo|
|000002e0| 75 20 64 6f 6e 27 74 20 | 68 61 76 65 0a 3e 61 6e |u don't |have.>an|
|000002f0| 79 20 61 72 67 75 6d 65 | 6e 74 73 0a 3e 0a 3e 65 |y argume|nts.>.>e|
|00000300| 6e 64 6c 3a 20 20 54 68 | 69 73 20 6d 61 6e 69 70 |ndl: Th|is manip|
|00000310| 75 6c 61 74 6f 72 2c 20 | 77 68 65 6e 20 69 6e 73 |ulator, |when ins|
|00000320| 65 72 74 65 64 20 69 6e | 74 6f 20 61 6e 20 6f 75 |erted in|to an ou|
|00000330| 74 70 75 74 20 73 74 72 | 65 61 6d 2c 20 69 6e 73 |tput str|eam, ins|
|00000340| 65 72 74 73 20 61 0a 3e | 6e 65 77 6c 69 6e 65 20 |erts a.>|newline |
|00000350| 63 68 61 72 61 63 74 65 | 72 20 61 6e 64 20 74 68 |characte|r and th|
|00000360| 65 6e 20 66 6c 75 73 68 | 65 73 20 74 68 65 20 62 |en flush|es the b|
|00000370| 75 66 66 65 72 2e 20 20 | 28 66 72 6f 6d 20 56 69 |uffer. |(from Vi|
|00000380| 73 75 61 6c 20 43 2b 2b | 20 6d 61 6e 75 61 6c 29 |sual C++| manual)|
|00000390| 0a 3e 0a 3e 47 6f 6f 64 | 20 6c 75 63 6b 21 0a 3e |.>.>Good| luck!.>|
|000003a0| 0a 3e 52 6f 67 65 72 0a | 3e 0a 3e 54 68 65 20 54 |.>Roger.|>.>The T|
|000003b0| 75 72 62 6f 20 43 2b 2b | 20 63 6f 6d 70 69 6c 65 |urbo C++| compile|
|000003c0| 72 20 62 79 20 42 6f 72 | 6c 61 6e 64 20 63 6f 6e |r by Bor|land con|
|000003d0| 74 69 6e 75 65 73 20 74 | 6f 20 67 69 76 65 20 6d |tinues t|o give m|
|000003e0| 65 20 74 68 65 20 65 72 | 72 6f 72 2c 20 66 6f 72 |e the er|ror, for|
|000003f0| 0a 3e 73 74 61 74 65 6d | 65 6e 74 0a 3e 6d 69 73 |.>statem|ent.>mis|
|00000400| 73 69 6e 67 20 3b 2e 20 | 20 57 68 61 74 20 73 68 |sing ;. | What sh|
|00000410| 6f 75 6c 64 20 49 20 64 | 6f 3f 3f 3f 20 20 49 74 |ould I d|o??? It|
|00000420| 20 73 61 79 73 20 69 20 | 61 6d 20 6d 69 73 73 69 | says i |am missi|
|00000430| 6e 67 20 61 20 73 65 6d | 69 63 6f 6c 6f 6e 20 73 |ng a sem|icolon s|
|00000440| 6f 20 49 0a 3e 61 64 64 | 65 64 0a 3e 73 6f 6d 65 |o I.>add|ed.>some|
|00000450| 20 62 75 74 20 69 74 20 | 73 74 69 6c 6c 20 77 6f | but it |still wo|
|00000460| 75 6c 64 20 6e 6f 74 20 | 77 6f 72 6b 2e 2e 2e 20 |uld not |work... |
|00000470| 20 41 6c 73 6f 20 73 75 | 6d 28 29 61 6e 64 20 73 | Also su|m()and s|
|00000480| 75 62 74 72 61 63 74 28 | 29 20 61 72 65 20 64 65 |ubtract(|) are de|
|00000490| 63 6c 61 72 65 64 0a 3e | 69 6e 0a 3e 74 77 6f 20 |clared.>|in.>two |
|000004a0| 6f 74 68 65 72 20 66 69 | 6c 65 73 2e 20 20 49 6e |other fi|les. In|
|000004b0| 20 74 68 69 73 20 65 78 | 61 6d 70 6c 65 20 49 20 | this ex|ample I |
|000004c0| 66 6f 72 67 6f 74 20 74 | 6f 20 65 78 74 65 72 6e |forgot t|o extern|
|000004d0| 20 74 68 65 6d 2e 2e 20 | 53 6f 72 72 79 2e 0a 3e | them.. |Sorry..>|
|000004e0| 0a 3e 43 61 6e 20 73 6f | 6d 65 62 6f 64 79 20 68 |.>Can so|mebody h|
|000004f0| 65 6c 70 20 6d 65 3f 20 | 20 49 27 64 20 72 65 61 |elp me? | I'd rea|
|00000500| 6c 6c 79 20 61 70 70 72 | 65 63 69 61 74 65 20 69 |lly appr|eciate i|
|00000510| 74 2e 0a 3e 0a 3e 41 6c | 73 6f 20 77 68 61 74 20 |t..>.>Al|so what |
|00000520| 64 6f 65 73 20 65 6e 64 | 6c 20 64 6f 3f 0a 3e 0a |does end|l do?.>.|
|00000530| 0a 46 69 72 73 74 20 6f | 66 20 61 6c 6c 20 66 6f |.First o|f all fo|
|00000540| 72 20 77 68 61 74 20 79 | 6f 75 20 61 72 65 20 74 |r what y|ou are t|
|00000550| 72 79 69 6e 67 20 74 6f | 20 64 6f 20 79 6f 75 20 |rying to| do you |
|00000560| 61 72 65 20 75 73 69 6e | 67 20 74 68 65 20 77 72 |are usin|g the wr|
|00000570| 6f 6e 67 20 6c 6f 6f 70 | 69 6e 67 20 63 6f 6d 6d |ong loop|ing comm|
|00000580| 61 6e 64 2e 20 20 0a 59 | 6f 75 20 77 61 6e 74 20 |and. .Y|ou want |
|00000590| 74 6f 20 75 73 20 74 68 | 65 20 22 77 68 69 6c 65 |to us th|e "while|
|000005a0| 22 20 63 6f 6d 6d 61 6e | 64 2e 0a 0a 54 68 65 20 |" comman|d...The |
|000005b0| 22 77 68 69 6c 65 22 20 | 63 6f 6d 6d 61 6e 64 20 |"while" |command |
|000005c0| 69 73 20 75 73 65 64 20 | 66 6f 72 20 63 6f 6e 64 |is used |for cond|
|000005d0| 69 74 69 6f 6e 73 20 61 | 6e 64 20 74 68 65 20 22 |itions a|nd the "|
|000005e0| 66 6f 72 22 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 |for" com|mand is |
|000005f0| 66 6f 72 20 61 20 73 65 | 74 20 6e 75 6d 62 65 72 |for a se|t number|
|00000600| 0a 6f 66 20 6c 6f 6f 70 | 73 20 74 6f 20 62 65 20 |.of loop|s to be |
|00000610| 70 65 72 66 6f 72 6d 65 | 64 2e 20 20 49 27 6c 6c |performe|d. I'll|
|00000620| 20 67 69 76 65 20 61 20 | 62 72 69 65 66 20 65 78 | give a |brief ex|
|00000630| 61 6d 70 6c 65 20 6f 66 | 20 62 6f 74 68 2e 0a 0a |ample of| both...|
|00000640| 0a 77 68 69 6c 65 28 63 | 68 20 21 3d 20 32 20 7c |.while(c|h != 2 ||
|00000650| 7c 20 63 68 20 3e 3d 20 | 39 29 20 20 20 7b 0a 20 || ch >= |9) {. |
|00000660| 20 20 20 0a 20 20 20 20 | 20 20 2e 2e 2e 2e 2e 2e | . | ......|
|00000670| 2e 20 62 75 6e 63 68 20 | 6f 66 20 63 6f 64 65 0a |. bunch |of code.|
|00000680| 20 20 20 20 20 20 2e 2e | 2e 2e 2e 2e 2e 20 73 74 | ..|..... st|
|00000690| 69 6c 6c 20 6d 6f 72 65 | 20 63 6f 64 65 0a 7d 0a |ill more| code.}.|
|000006a0| 0a 54 68 65 20 61 62 6f | 76 65 20 69 73 20 77 68 |.The abo|ve is wh|
|000006b0| 61 74 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 68 61 |at you s|hould ha|
|000006c0| 76 65 20 75 73 65 64 2e | 20 20 48 65 72 65 20 69 |ve used.| Here i|
|000006d0| 74 20 69 73 20 73 61 79 | 69 6e 67 20 74 68 61 74 |t is say|ing that|
|000006e0| 20 69 74 20 69 73 20 73 | 75 70 70 6f 73 65 64 20 | it is s|upposed |
|000006f0| 74 6f 20 0a 6c 6f 6f 70 | 20 77 68 69 6c 65 20 63 |to .loop| while c|
|00000700| 68 20 64 6f 65 73 20 6e | 6f 74 20 65 71 75 61 6c |h does n|ot equal|
|00000710| 20 32 20 6f 72 20 77 68 | 69 6c 65 20 63 68 20 69 | 2 or wh|ile ch i|
|00000720| 73 20 67 72 65 61 74 65 | 72 20 74 68 61 6e 20 6f |s greate|r than o|
|00000730| 72 20 65 71 75 61 6c 20 | 74 6f 20 39 2e 0a 0a 66 |r equal |to 9...f|
|00000740| 6f 72 28 69 6e 74 20 6e | 20 3d 20 30 3b 20 6e 20 |or(int n| = 0; n |
|00000750| 3c 20 32 30 3b 20 6e 2b | 2b 29 20 20 7b 0a 0a 20 |< 20; n+|+) {.. |
|00000760| 20 20 2e 2e 2e 2e 2e 2e | 2e 2e 2e 62 75 6e 63 68 | ......|...bunch|
|00000770| 20 6f 66 20 63 6f 64 65 | 0a 20 20 20 2e 2e 2e 2e | of code|. ....|
|00000780| 2e 2e 2e 2e 2e 65 76 65 | 6e 20 6d 6f 72 65 20 63 |.....eve|n more c|
|00000790| 6f 64 65 0a 7d 0a 0a 0a | 54 68 69 73 20 6f 6e 65 |ode.}...|This one|
|000007a0| 20 74 65 6c 6c 20 74 68 | 65 20 63 6f 6d 70 75 74 | tell th|e comput|
|000007b0| 65 72 20 74 6f 20 64 65 | 63 6c 61 72 65 20 61 6e |er to de|clare an|
|000007c0| 20 69 6e 74 20 6e 20 61 | 6e 64 20 73 65 74 20 69 | int n a|nd set i|
|000007d0| 74 20 74 6f 20 74 68 65 | 20 76 61 6c 75 65 20 30 |t to the| value 0|
|000007e0| 2c 20 61 6e 64 20 69 74 | 20 69 73 0a 74 6f 20 6c |, and it| is.to l|
|000007f0| 6f 6f 70 20 77 68 69 6c | 65 20 6e 20 69 73 20 6c |oop whil|e n is l|
|00000800| 65 73 73 20 74 68 61 6e | 20 32 30 2c 20 74 68 65 |ess than| 20, the|
|00000810| 20 6c 61 73 74 20 70 61 | 72 74 20 74 65 6c 6c 20 | last pa|rt tell |
|00000820| 74 68 65 20 63 6f 6d 70 | 75 74 65 72 20 74 6f 20 |the comp|uter to |
|00000830| 69 6e 63 72 65 6d 65 6e | 74 20 6e 20 62 79 20 31 |incremen|t n by 1|
|00000840| 0a 65 76 65 72 79 20 74 | 69 6d 65 20 61 20 6c 6f |.every t|ime a lo|
|00000850| 6f 70 20 69 73 20 70 65 | 72 66 6f 72 6d 65 64 2e |op is pe|rformed.|
|00000860| 20 20 4e 6f 74 69 63 65 | 20 74 68 65 20 73 65 6d | Notice| the sem|
|00000870| 69 2d 63 6f 6c 6f 6e 73 | 20 73 65 70 65 72 61 74 |i-colons| seperat|
|00000880| 69 6e 67 20 65 61 63 68 | 20 70 61 72 74 20 6f 66 |ing each| part of|
|00000890| 20 74 68 65 20 0a 66 6f | 72 20 6c 6f 6f 70 2c 20 | the .fo|r loop, |
|000008a0| 74 68 69 73 20 69 73 20 | 77 68 61 74 20 79 6f 75 |this is |what you|
|000008b0| 72 20 63 6f 6d 70 69 6c | 65 72 20 77 61 73 20 63 |r compil|er was c|
|000008c0| 6f 6d 70 6c 61 69 6e 69 | 6e 67 20 61 62 6f 75 74 |omplaini|ng about|
|000008d0| 2e 20 20 49 6e 20 61 20 | 66 6f 72 20 6c 6f 6f 70 |. In a |for loop|
|000008e0| 20 79 6f 75 20 6d 75 73 | 74 0a 75 73 65 20 61 20 | you mus|t.use a |
|000008f0| 73 65 6d 69 2d 63 6f 6c | 6f 6e 20 74 6f 20 73 65 |semi-col|on to se|
|00000900| 70 65 72 61 74 65 20 74 | 68 65 20 70 61 72 74 73 |perate t|he parts|
|00000910| 2e 20 20 45 61 63 68 20 | 70 61 72 74 20 6f 66 20 |. Each |part of |
|00000920| 74 68 65 20 22 66 6f 72 | 22 20 6c 6f 6f 70 20 69 |the "for|" loop i|
|00000930| 73 20 62 72 6f 6b 65 6e | 20 69 6e 74 6f 0a 74 68 |s broken| into.th|
|00000940| 65 20 66 6f 6c 6f 77 69 | 6e 67 20 70 61 72 74 73 |e folowi|ng parts|
|00000950| 3a 0a 0a 20 20 20 66 6f | 72 28 76 61 72 69 61 62 |:.. fo|r(variab|
|00000960| 6c 65 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |le initi|alizatio|
|00000970| 6e 2f 64 65 63 6c 61 72 | 61 74 69 6f 6e 3b 20 63 |n/declar|ation; c|
|00000980| 6f 6e 64 69 74 69 6f 6e | 3b 20 76 61 72 69 61 62 |ondition|; variab|
|00000990| 6c 65 20 61 63 74 69 6f | 6e 29 0a 0a 48 6f 70 65 |le actio|n)..Hope|
|000009a0| 20 74 68 69 73 20 68 65 | 6c 70 73 21 0a 0a 0a 49 | this he|lps!...I|
|000009b0| 66 20 79 6f 75 20 6e 65 | 65 64 20 6d 6f 72 65 20 |f you ne|ed more |
|000009c0| 68 65 6c 70 20 66 65 65 | 6c 20 66 72 65 65 20 74 |help fee|l free t|
|000009d0| 6f 20 77 72 69 74 65 20 | 6d 65 20 61 74 20 0a 0a |o write |me at ..|
|000009e0| 76 69 70 65 72 40 65 75 | 72 6f 70 61 2e 63 6f 6d |viper@eu|ropa.com|
|000009f0| 0a 0a 0a 0a | |.... | |
+--------+-------------------------+-------------------------+--------+--------+